public class Test2 {
    public static void main(String[] args) {
        Flyable bird = new Bird();
        bird.flyAction();
        Flyable plane = new Plane();
        plane.flyAction();
    }
}
